LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)


LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_PROGUARD_ENABLED := disabled

LOCAL_PACKAGE_NAME := com.squareup.leakcanary
LOCAL_CERTIFICATE := platform
LOCAL_PRIVELEGED_MODULE := false

LOCAL_CERTIFICATE := platform

LOCAL_STATIC_JAVA_LIBRARIES += lib_haha
LOCAL_STATIC_JAVA_LIBRARIES += lib_analyzer
LOCAL_STATIC_JAVA_LIBRARIES += lib_watcher



include $(BUILD_PACKAGE)

##################################################
include $(CLEAR_VARS)

LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := lib_haha:libs/haha-2.0.3.jar
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += lib_analyzer:libs/leakcanary-analyzer-1.5.jar
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += lib_watcher:libs/leakcanary-watcher-1.5.jar

include $(BUILD_MULTI_PREBUILT)


# Build the test package
include $(call all-makefiles-under,$(LOCAL_PATH))

